nnoremap <silent> [Space]e :<C-u>Defx -columns=mark:indent:git:icons:filename:type -split=vertical -direction=topleft -winwidth=40 -listed -resume <CR>
nnoremap <silent> <Leader>xdf :Defx -split=vertical -winwidth=40
            \ -columns=mark:indent:git:icons:filename:type:size -show-ignored-files
            \ -direction=topleft `expand('%:p:h')` -search=`expand('%:p')`<CR>
            \ :Defx -new -split=horizontal
            \ -columns=mark:indent:git:icons:filename:type:size -show-ignored-files<CR>
            \ :wincmd p<CR>


call defx#custom#column('mark', {
    \ 'readonly_icon': '✗',
    \ 'selected_icon': '✓',
    \ })
call defx#custom#column('icon', {
    \ 'directory_icon': '▷',
    \ 'opened_icon': '▽',
    \ 'root_icon': ' ',
    \ })
call defx#custom#column('filename', {
    \ 'max_width': 1000,
    \ })
